/*--------------------------------------------------------------------------------------*\
**
** adv_teleporter_exit.h
**
** Heroes IV
** Copyright 2000, The 3DO Company
**
\*--------------------------------------------------------------------------------------*/

#ifndef ADV_TELEPORTER_EXIT_H_INCLUDED
#define ADV_TELEPORTER_EXIT_H_INCLUDED

#include "gateway_base.h"

class t_adv_teleporter_exit : public t_gateway_base
{
public:
	t_adv_teleporter_exit(  std::string const& source );
	virtual void    activate_trigger( t_army* army, t_adv_map_point const& point, 
		                                   t_direction direction, t_adventure_frame* frame );
	virtual	void	destroy();
	int				get_teleporter_type() const;
	virtual void	place( t_adventure_map& map, t_adv_map_point const& point );

};

inline int t_adv_teleporter_exit::get_teleporter_type() const
{
	return get_major_subtype();
}


#endif //ADV_TELEPORTER_EXIT_H_INCLUDED

